package kn.pulldata.req;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 类描述：修改状态入参
 *
 * @author XJW
 * @since 2025/7/8 14:27
 */
@Data
public class ActionReq {


    @NotNull(message = "id不能为空")
    private Integer id;

    @NotNull(message = "isRun不能为空")
    private Integer isRun; // 状态 1-启动 0-暂停

    // 用户id
    @NotNull(message = "userId不能为空")
    private Integer userId;

    // 机构id
    @NotNull(message = "orgId不能为空")
    private Integer orgId;

    // 数据源id
    @NotNull(message = "sourceId不能为空")
    private Integer sourceId;
}
